package work.xiaohong.mina.test2.message;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * @author Kevin
 * @data 4/23/2022 7:32 PM
 * @description Carrier Scanned消息
 **/

@Data
@ToString
public class CsMessage extends PlcMessageHead implements Serializable {

  /**
   * Indicates the event that has occurred for the specific component.
   * The event type also indicates what kind of key/value pairs can be expect.
   */
  private String evt;

  /**
   * The unique identification of the conveyor system component on which the event occurred.
   */
  private String com;

  /**
   * A list of carrier information. The list should at least contain a single carrier block,
   * in case multiple carries where scanned in the same event they are all added to the List.
   */
  private List<CarrierBlock> cls;

}

